public class Test1
{
    public static void main(String[] args) {
        int myNum = 10 ;
        myNum = myNum + 1 ;
        System.out.println(myNum);

        short s = 9 ;//short=int;但是对于int而言，自带转换器
        System.out.println(s);

        float f = 88f ;
        System.out.println(s);

        byte b = 127 ;
        System.out.println(b);
        char a = 'd' ;
        System.out.println(a);
        String str1 = "yy";
        String str2 = "yy1";
        String str3 = "yy2";
        System.out.println(str1);
        System.out.println(str2);
        System.out.println(str3);

        //十进制
        int num = 88 ;
        System.out.println(num);
        //二进制
        int num1 = 0b0111 ;
        System.out.println(num1);
        //八进制
        int num2 = 0765 ;
        System.out.println(num2);
        //十六进制
        int num3 = 0xAB67 ;
        System.out.println(num3);

    }
}
